//package com.jacars.gateway.base;
//
//import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
//import com.jacars.gateway.base.BasePo;
//import lombok.Data;
//
//import java.util.Date;
//
///**
// * Created by zhoutaoo on 2018/6/1.
// */
//@Data
//public class BaseParam<T extends BasePo> {
//    private Date createdTimeStart;
//    private Date createdTimeEnd;
//
//    public QueryWrapper<T> build() {
//        QueryWrapper<T> queryWrapper = new QueryWrapper<>();
//        queryWrapper.ge(null != this.createdTimeStart, "created_time", this.createdTimeStart)
//                .le(null != this.createdTimeEnd, "created_time", this.createdTimeEnd);
//        return queryWrapper;
//    }
//}
